TStreamedData
The user type returned from the called web service.
TServiceState
User state information.
Leadtools.Web.Services Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.09.25
Generic ServiceStreamer Class
See Also  Members  
Leadtools.Web.Services Namespace : Generic ServiceStreamer Class



Provides a generic implementation for streaming data from web services and synchronizing with the UI (user interface) updates.

Syntax

Visual Basic (Declaration) 
Public MustInherit Class ServiceStreamer
     (Of TStreamedData,TServiceState) 
Visual Basic (Usage)Copy Code
Dim instance As ServiceStreamer(Of TStreamedData,TServiceState)
C# 
public abstract class ServiceStreamer<TStreamedData,TServiceState> 
C++/CLI 
generic<typename TStreamedData>
generic<typename TServiceState>
public ref class ServiceStreamer abstract 

Type Parameters

TStreamedData
The user type returned from the called web service.
TServiceState
User state information.

Remarks

This is an abstract class which you need to override and implement the abstract methods in order to use. The class allow inheritors to specify the number of concurrent web calls they want make at once and synchronize this with updating the UI with the streamed data.

Inheritance Hierarchy

System.Object
   Leadtools.Web.Services.ServiceStreamer

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Generic ServiceStreamer requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features